Skip to content

Conversation

@Earlopain
Copy link
Collaborator

@Earlopain Earlopain force-pushed the void-value-expression branch 4 times, most recently from c13c3da to e99cda8 Compare November 18, 2025 12:34
See https://bugs.ruby-lang.org/issues/21669#note-4
> At line 1067, void_node = vn is executed (and vn is guaranteed to be non-NULL on the line above), so it's impossible for void_node to be NULL at line 1075. Thus, it is indeed dead code.
@Earlopain Earlopain force-pushed the void-value-expression branch from e99cda8 to 779470a Compare December 13, 2025 12:27
@kddnewton
Copy link
Collaborator

Where are we with this? Did nobu's upstream changes get merged?

@Earlopain
Copy link
Collaborator Author

(PR ref ruby/ruby#15498)

Not merged, no. He fixed a case I forgot to implement (ruby/ruby@74ea62b) but in some edge case prism doesn't emit unused variable warnings anymore.

I haven't looked into it though. Should I just continue in this PR here, or?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants